package com.zheng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
//表名
@TableName("sea_user")
public class User implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String username;
    private String password;
    private Integer ident;
    private String nickName;
    private Integer age;
    private String sex;
    private String address;
}
